package com.fileshare.web.service;

import com.fileshare.web.dto.Bo.UploadFileBo;
import com.fileshare.web.dto.Vo.FileResourceVo;
import com.fileshare.web.entity.Article;
import com.fileshare.web.entity.FileResource;
import com.fileshare.web.entity.User;

import java.util.List;

public interface FileResourceService {
    FileResource addResource(UploadFileBo fileBo, String resourceUrl, User user);

    boolean bindFileToArticle(Article article, List<String> fileSeqs);

    List<FileResourceVo> getArticleResources(String articleSeq);
}
